package com.ruif.model;


/**
 * 车间表
 * @author pc
 *
 */
public class Car
{
    private long id;            //编号（主键）
    private String licenseNo;   //车牌号
    private double price;       //车价格（单位：万）
    private String type;        //车子类型（如小车或大卡车）
    private String date;        //入库日期
    private String descrip;        //车子描述
    
    public Car()
    {
        super();
    }
    
    public Car(long id)
    {
        super();
        this.id = id;
    }

    public Car(long id, String licenseNo, double price, String type, String date, String descrip)
    {
        super();
        this.id = id;
        this.licenseNo = licenseNo;
        this.price = price;
        this.type = type;
        this.date = date;
        this.descrip = descrip;
    }
    
    public Car(String licenseNo, double price, String type, String date, String descrip)
    {
        super();
        this.licenseNo = licenseNo;
        this.price = price;
        this.type = type;
        this.date = date;
        this.descrip = descrip;
    }
    
    public long getId()
    {
        return id;
    }
    public void setId(long id)
    {
        this.id = id;
    }
    
    public String getLicenseNo()
    {
        return licenseNo;
    }
    public void setLicenseNo(String licenseNo)
    {
        this.licenseNo = licenseNo;
    }
    
    public double getPrice()
    {
        return price;
    }
    public void setPrice(double price)
    {
        this.price = price;
    }
    
    public String getType()
    {
        return type;
    }
    public void setType(String type)
    {
        this.type = type;
    }
    
    public String getDate()
    {
        return date;
    }
    public void setDate(String date)
    {
        this.date = date;
    }

    public String getDescrip()
    {
        return descrip;
    }
    public void setDescrip(String descrip)
    {
        this.descrip = descrip;
    }
    
}
